package com.kaizzi.data.jdl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kaizzi.data.jdl.entity.JdlPageData;
import org.apache.ibatis.annotations.Param;

/**
 * @author Kzen
 * @Description description
 * @date 2020/9/9
 */
public interface JdlDataMapper extends BaseMapper<JdlPageData> {
//    Long findPageData(@Param("page") String page, @Param("date") String date);

    void saveJdlData(JdlPageData data);

    String getPageData(@Param("page") String page, @Param("lastSunday") String lastSunday);

    long getDataCount(@Param("lastSunday") String lastSunday);
}
